//! \file backtacer_linux_arm.h

#include <signal.h>
#include "map_utils.h"

//------------------------------------------------------------------------------

#ifndef _BACKTRACER_LINUX_ARM_H_
#define _BACKTRACER_LINUX_ARM_H_

//------------------------------------------------------------------------------

//! \brief generate backtrace for current thread
TBGError GenBacktraceCurrent(func_map *pmap);

//! \brief Function stores backtracer pointer in its static memory
func_map* _SigHandlerGetSetFuncMap(func_map *pmap);

//! \brief Function which is handle SEGV and generate backtrace on it
void _SigSegvHandler(int sig, siginfo_t *psiginfo, void *pcontext);

//------------------------------------------------------------------------------

#endif //_BACKTRACER_LINUX_ARM_H_
